package com.example.gxwmvp.presenter;
import java.lang.ref.WeakReference;
public class BasePresenter<V>{

    WeakReference<V> mWeakRefView;
    public void attachView(V iView)
    {
        mWeakRefView =  new WeakReference<>(iView);
    }
    public void deAttachView()
    {
        mWeakRefView.clear();
    }
}
